Part Number Hot Search : 
1220A M627X6 TIL195X 0TRPBF ISL29015 43000 IRF73 ML60115R
Product Description
Full Text Search
 

To Download AL250 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AL250/251 Data Sheets
AL250
Contents
1.0 Features ___________________________________________________________________ 3 2.0 Applications ________________________________________________________________ 3 3.0 General Description__________________________________________________________ 4 4.0 Pinout Diagrams ____________________________________________________________ 5 5.0 Pin Definition and Description _________________________________________________ 6 6.0 Functional Description _______________________________________________________ 8
6.1 Digital Input/Output Data Formats _________________________________________________ 8 6.2 Default Resolution _______________________________________________________________ 9 6.3 Video Timing____________________________________________________________________ 9 6.4 Border/Border Color ____________________________________________________________ 13 6.5 OSD Interface __________________________________________________________________ 14 6.6 External Overlay________________________________________________________________ 15 6.7 Look-up Table (LUT)____________________________________________________________ 16 6.8 I2C Programming _______________________________________________________________ 16 6.9 Video Decoding _________________________________________________________________ 18
7.0 Electrical Characteristics ____________________________________________________ 20
7.1 Recommended Operating Conditions_______________________________________________ 20 7.2 Characteristics _________________________________________________________________ 20
8.0 AL250/251 Register Definition ________________________________________________ 22
8.1 Register Description _____________________________________________________________ 23
9.0 Board Design and Layout Considerations _______________________________________ 29
9.1 Grounding _____________________________________________________________________ 29 9.2 Power Planes and Power Supply Decoupling ________________________________________ 29
July 28, 1999
2
AL250
AL250/251 Video Scan Doubler
1.0 Features
* * * * * * * * * * Convert interlaced TV signal (NTSC/PAL) into non-interlaced RGB format for CRT monitors or LCD panels Highly integrated design with built-in DAC, SRAM, OSD and LUT Built-in on-screen-display with programmable bitmap Interpolated scan doubling with no tearing or jagged edge artifacts Reduced interlace flicker Auto NTSC/PAL detect Digital video input of square pixel, ITU-RBT 601 (CCIR 601), or user-defined format Analog/digital non-interlaced RGB (VGA) signal output (Scan Doubled or Deinterlaced) I2C programming interface Power-down control via I2C * * * * * Internal RGB video lookup table (LUT) to provide gamma correction and special effects Overlay support for title making and complex on-screen display Self-initialization without software (Plug & Play) 3.3 or 5 volt support 16-bit digital RGB/YUV output (AL251 only)
2.0 Applications
* * * * * * TV-ready Multimedia Computer Monitor TV to PC Video Scan Converter Box Progressive Scan TV Video Game Station DVD Player LCD TV Monitor
Video Memory
On-screen Display RGB Video Lookup Tables
16
8-bit DAC
Digital YUV or RGB output (AL251) R G B
Digital YUV or RGB input
16
Video Formatter
Video Processor and Scan Doubler
8-bit DAC 8-bit DAC
VCLK VCLKX2 VIDHS VIDVS HREF
Timing Control
RSET
I2C Circuit 2
Mode Control
VREF COMP
INTYPE
RESET
OVLCTRL
SQUARE
I2CADDR
GHS
GHREF
GVS
SDA
SCL
STD
AL250-01
July 28, 1999
3
AL250
3.0 General Description
The AL250/251 Video Scan Doubler (De-Interlacer) is a video conversion chip for consumer video and multimedia applications. It converts interlaced NTSC or PAL, ITU-RBT 601 (CCIR 601) or square pixel, YUV422 or RGB565 digital signals into computer monitor RGB signals for direct connection to a computer monitor or progressive scan TV. By using I2C interface control, the AL250/251 can also be programmed to co-ordinate with various input resolutions, adjust screen positioning and crop video noise from around the original input video boundary. The internal RGB video lookup tables (LUT), which are controlled via I2C interface, can provide gamma correction for calibrating the color accuracy of different types of CRT's and improving the contrast level to display more vivid pictures. A built-in on-screen-display (OSD) provides programmable bitmap RAM for custom design icons and on-screen control panels. Overlay function is supported to create titling or on-screen-display menus for video adjustment. The AL251 provides all the features of the AL250. Additionally, it has digital output in YUV422 or RGB565 format, and can convert NTSC video for VGA LCD panels. The AverLogic proprietary digital signal processing technology creates a highly stable video image without tearing effects or jagged edges. The output picture is smoother and has less flicker than the original input signal/picture.
July 28, 1999
4
80 VDD GND DO15 DO14 VDIN9 VDIN8 VDIN7 VDIN6 VDIN5 VDIN13 VDIN12 VDIN11 VDIN10
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
NC
VDIN15
VDIN14
52 53 54 55 56 57 58 59 60 61 62 63 64
1 DO13 DO12 VDIN4 VDIN3 VDIN2 VDIN1 VDIN0 GND DO7 DO6 VDD VDD DO5 DO4 DO3 DO2 DO1 DO0 OVLCTRL1 OVLCTRL0 GND NC NC COMP AGND AGND VREF RSET AVDD AVDD NC NC GHS GVS AR AG AB 44 43 42 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
NC
64
2
NC
3
NC
VDIN5 VDIN6 VDIN7 VDIN8 VDD VDIN9 VDIN10 VDIN11 GND VDIN12 VDIN13 VDIN14 VDIN15
4.0 Pinout Diagrams
4
VIDHS
5
VDD
6
VCLK
7
VIDVS
8
GND
9
VCLKX2
10
HREF
11
STD0
12
STD1
13
GND
14
INTYPE
AL250
15
SQUARE
AL251
16
TESTIN
17
I2CADDR
18
/RESET
19
SDA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 VIDHS VDD VCLK VIDVS GND VCLKX2 HREF STD0 STD1 GND INTYPE SQUARE TESTIN I2CADDR /RESET SDA VDD SCL VDD
VDIN4 VDIN3 VDIN2 VDIN1 VDIN0 GND TESTY7 TESTY6 VDD VDD TESTY5 TESTY4 TESTY3 TESTY2 TESTY1 TESTY0 OVLCTRL1 OVLCTRL0 GND
51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
20
VDD
21
SCL
VREF COMP RSET AVDD AR AGND AG AVDD AB AGND GHS GVS GREF
22
VDD
23
DO8
32 31 30 29 28 27 26 25 24 23 22 21 20
GREF
AL251-01 pinout diagram 28 29 30 31 32 33 34 35 36 37 38 39 40
24
D010
D011
DO9
41
25
26
27
July 28, 1999
AL250
5
AL250
5.0 Pin Definition and Description
Symbol Video Interface VDIN (15 to 0) in (CMOS) 64-61, 59- 79-76, 74- Digital video data input. Please refer to the input 57, 55-52, 72, 70-67, data format table for details 51-47 62-58 3 6 1 4 7 6 9 4 7 10 Video clock input 2 times of video clock input Horizontal sync. input signal Vertical sync. input signal Horizontal reference input signal; this signal is used to indicate data on the digital YUV bus. The positive slope marks the beginning of a new active line. Type 250 Pin # 251 Pin # Description
VCLK VCLKX2 VIDHS VIDVS HREF
in (CMOS) in (CMOS) in (CMOS) in (CMOS) in (CMOS)
Graphic Interface RSET VREF COMP AR AG AB DO (15 to 0) In (100 ohm) 30 in (1.235V) out (0.1F) out (0.7V) out (0.7V) out (0.7V) out (CMOS) 32 31 28 26 24 N/A 37 39 38 35 33 31 Full Scale Current Adjust; 100 ohm pull-down Voltage Reference Input Compensation pin; 0.1F pull-up VGA analog red output VGA analog green output VGA analog blue output
66-63, 26- Digital YUV422 or RGB565 output, selected by 23, 56-55, register 08h <7> 52-47 29 28 27 VGA horizontal sync. output signal VGA vertical sync. output signal VGA horizontal reference output signal; it can be used to indicate blanking interval.
GHS GVS GHREF
out (TTL) out (TTL) out (CMOS)
22 21 20
Reset & Mode Select /RESET STD (1 to 0) in (CMOSd) in (CMOSd) 15 9, 8 18 12, 11 Reset input; active low Video Input Standard select
00: NTSC input 01: PAL input
July 28, 1999
6
AL250
10: Automatic standard detection 11: Reserved for testing
INTYPE in (CMOSd) 11 14 Input video data format select 0: 422 YUV (16-bit) 1: 565 RGB (16-bit) Square pixel/YUV (CCIR-601) input select 0: YUV (CCIR-601) 1: Square pixel Test input pin, to be pulled high for normal applications.
SQUARE
in (CMOSd)
12
15
TESTIN
in (CMOSd)
13
16
I2C & overlay Interface SCL SDA I2CADDR in (CMOSsu) 18 in/out (CMOSsu) in (CMOSd) 16 14 21 19 17 I2C-bus serial clock input I2C -bus serial data input/output I2C -bus slave address select 0: write address = 58, read address = 59 1: write address = 5C, read address = 5D Overlay control 00: No overlay 01: Overlay color #1 10: Overlay color #2 11: Overlay color #3 Overlay colors can be programmed by software
OVLCTRL (1 to 0)
in (CMOSd)
35, 34
46, 45
Test pins TESTY (7 to 0) out (CMOS) 45-44, 41-36 N/A Test output pins, for factory test only
Power & Ground Pins VDD GND AVDD AGND power power power power 2, 17, 19, 5, 20, 22, Digital power pins. Connected to +5V power 42, 43, 56 53, 54, 71 5, 10, 33, 8, 13, 44, Digital ground pins 46, 60 57, 75 25, 29 23, 27 32, 36 30, 34 Analog power pins. Connected to +5V power Analog ground pins
Notes: CMOSd : CMOS with internal pull-down CMOSsu : CMOS with Schmitt trigger and internal pull-up
July 28, 1999
7
AL250
6.0 Functional Description
6.1 Digital Input/Output Data Formats
The digital video data formats that the AL250/251 accepts are YUV422 and RGB565. The pin definition and the RGB 888 to 565 mapping is as follows:
Video Data Signal VDIN15 VDIN14 VDIN13 VDIN12 VDIN11 VDIN10 VDIN9 VDIN8 VDIN7 VDIN6 VDIN5 VDIN4 VDIN3 VDIN2 VDIN1 VDIN0 Pixel clock INTYPE select Pin Number AL250 64 63 62 61 59 58 57 55 54 53 52 51 50 49 48 47 AL251 79 78 77 76 74 73 72 70 69 68 67 62 61 60 59 58 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 U7, V7 U6, V6 U5, V5 U4, V4 U3, V3 U2, V2 U1, V1 U0, V0 VCLK INTYPE = 0 R7 R6 R5 R4 R3 G7 G6 G5 G4 G3 G2 B7 B6 B5 B4 B3 VCLK INTYPE = 1 YUV 422 RGB 888565
-
-
To select YUV422 or RGB565 as the input format, program the Board Configuration Register #02h, or set the hardware pin "INTYPE" (AL250 pin#11, AL251 pin#14). The AL251 provides digital output in RGB565 or YUV422 format. The pin definition and the RGB565 to 888 mapping is as follows:
Video Data Signal
DO7 DO6 DO5
AL251 Pin # 56 55 52
YUV 422 Y7 Y6 Y5
RGB 565888
R7 R6 R5
July 28, 1999
8
AL250
DO4 DO3 DO2 DO1 DO0 DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 OutFormat select
51 50 49 48 47 66 65 64 63 26 25 24 23 -
Y4 Y3 Y2 Y1 Y0 U7, V7 U6, V6 U5, V5 U4, V4 U3, V3 U2, V2 U1, V1 U0, V0
R4 R3 G7 G6 G5 G4 G3 G2 B7 B6 B5 B4 B3
1
0
To select YUV422 or RGB565 as the output format, program the Control Register #08h<7>, i.e., OutFormat.
6.2 Default Resolution
The resolution of the AL250/251 applications depends on the input video source, e.g., the digital video decoder. The typical resolution of the video decoder that the AL250/251 supports without software, and the VCLK frequency provided by the decoder to the AL250/251 is as follows: Square Pixel NTSC Pixel Total Pixel Active VCLKx2 (MHz) VCLK (MHz) 780 x 525 640 x 480 24.545454 12.272727 PAL 944 x 625 768 x 576 29.5 14.75 CCIR 601 NTSC 858 x 525 720 x 480 27 13.5 PAL 864 x 625 720 x 576 27 13.5
The AL250/251 can process up to 768 active pixels per line and 1024 lines per frame.
6.3 Video Timing
The AL250/251 registers 20h~29h and 2Bh~2Eh are used to control the video timing. All increments are either by 8 pixels per line or by 4 lines per frame. All values (times 8 or 4) are relative to the input video source H-sync or V-sync. These registers need to be programmed if the input video resolution is different from the default resolution supported.
July 28, 1999
9
AL250
The H-sync Start and End (registers 22h and 23h) define the output horizontal sync period relative to the input H-sync leading edge. The Horizontal Blank Start and End (registers 2Bh and 2Ch) define the output H-sync blanking period. The Horizontal Capture Start and End (registers 20h and 21h) define the active pixels in each line relative to the input video H-sync. These registers can also be used for adjusting the position of the output picture. The Horizontal Total High and Low (registers 24h and 29h) define the total number of pixels per line. The AL250/251 can detect the H-total automatically when the input data is of the typical resolution mentioned in the Default Resolution section. The V-sync Start and End (registers 27h and 28h) define the output V-sync period relative to the input V-sync start. The Vertical Blank Start and End (registers 2Dh and 2Eh) define the output V-sync blanking period. The Vertical Capture Start and End (registers 25h and 26h) define the active lines. The total number of lines per frame (Vertical Total) is detected by the AL250/251 automatically. To take advantage of the auto detection of the AL250/251, set the bit 3 of the Control register #08h (Softtime) as 0. If a user-defined input format is used, then disable the hardware default by setting this bit as 1, and write all of the parameters to the corresponding registers to define the format. The sample code the AL250EVB provides disables the hardware settings. The following typical parameters (as well as hardware default values) are for reference:
Mode H(Horizontal) total V(Vertical) total HDE Start HDE End H-sync Start H-sync End VDE Start VDE End V-sync Start V-sync End Square NTSC 780 525 120 736 776 56 48 500 4 8 Square PAL 944 625 160 896 0 72 60 604 4 8 CCIR NTSC 858 525 72 752 792 856 48 500 4 8 CCIR PAL 864 625 80 760 808 16 60 604 4 8
July 28, 1999
10
AL250
Reg.#20h HDE Start Reg.#21h HDE End Reg.#22h H-sync Start Reg.#23h H-sync End Reg.#24h HTOTAL10_3 Reg.#29h HTOTAL2_1 Reg.#25h VDE Start Reg.#26h VDE End Reg.#27h V-sync Start Reg.#28h V-sync End Reg.#2Bh H-blank Start Reg.#2Ch H-blank End Reg.#2Dh V-blank Start Reg.#2Eh V-blank End
0Fh 5Ch 61h 07h 61h 02h 0Ch 7Dh 01h 02h 5Fh 0Ch 7Fh 0Ah
14h 70h 00h 09h 76h 00h 0Fh 97h 01h 02h 73h 11h 99h 0Dh
09h 5Eh 63h 6Bh 6Bh 01h 0Ch 7Dh 01h 02h 61h 06h 7Fh 0Ah
0Ah 5Fh 65h 02h 6Ch 00h 0Fh 97h 01h 02h 62h 07h 99h 0Dh
The output timing/format is as follows:
Square NTSC Resolution Pixel rate Interlace Video Sync on G Video level White level Black level H total H display H F-porch H B-porch HS width H border V total 640x480/616x452 24.5454 MHz No Analog-color No 700mV/1V* 700mV/1V* 0 IRE 780 616* 40* 64* 60* 24* 525 Square PAL 768x576/736x544 29.5 MHz No Analog-color No 700mV/1V* 700mV/1V* 0 IRE 944 736* 48* 88* 72* 24* 625 CCIR NTSC 720x480/680x452 27.00 MHz No Analog-color No 700mV/1V* 700mV/1V* 0 IRE 858 680* 40* 74* 64* 24* 525 CCIR PAL 720x576/680x544 27.00 MHz No Analog-color No 700mV/1V* 700mV/1V* 0 IRE 864 680* 48* 64* 72* 24* 625
July 28, 1999
11
AL250
V display V F-porch V B-porch VS width V border HS output VS output Fh Fv
452* 29* 40* 4* 8* ON(-)* ON(-)* 31.4685 KHz 59.94 Hz
544* 25* 52* 4* 8* ON(-)* ON(-)* 31.250 KHz 50 Hz
452* 29* 40* 4* 8* ON(-)* ON(-)* 31.4685 KHz 59.94 Hz
544* 25* 52* 4* 8* ON(-)* ON(-)* 31.250 KHz 50 Hz
Remark: Values with "*" are programmable (S/W) or adjustable (H/W). The horizontal video timing diagram is as follows.
Reference start (0) VIDHS Output H Total (24h, 29h) GHSync
HSyncStart (22h) HSyncEnd (23h)
H Blank Interval (AL250) HBlankEnd (2Ch) HBlankStart (2Bh) Left Border Right Border GHREF HDEStart (20h) HDEEnd (21h) Visible Picture
AL250-06 Horizontal timing diagram H Blank Interval (AL251)
The vertical video timing diagram is as follows.
July 28, 1999
12
AL250
Reference start (0)
VIDVS
Output V Total
GVSync
VSyncStart (27h) VSyncEnd (28h) V Blank Interval (AL250) VBlankEnd (2Eh) VBlankStart (2Dh) Top Border VDEStart (25h) VDEEnd (26h) V Blank Interval (AL251) Visible Picture Bottom Border
AL250-26 Vertical timing diagram
Details about the registers can be found in the Register Definition section.
6.4 Border/Border Color
The AL250/251 displays all the active pixels from the video source resulting in a larger viewable area on a monitor than on a regular TV. This is especially advantageous for digital video sources such as DVD. However, for some other video sources such as VCR, the unwanted and untrimmed border may appear. To solve this, the AL250/251 provides border control by cropping the video source. In addition, the cropped border can be filled with one color (24-bit), which is defined by registers 0Ch~0Eh. Border/border color control applies to the AL250/251 analog output but not to the AL251 digital YUV/RGB output.
July 28, 1999
13
AL250
6.5 OSD Interface
The AL250/251 provides two ways to implement the on screen display. The internal way is to program the built-in on-screen display (OSD) bitmap, and the external way is to control the two overlay pins for showing on screen display or creating special effects onto each single pixel on screen. The AL250/251 provides 256 registers to implement the two internal bitmaps, which are programmable as 16x16 blocks (4x4 pixels each) and 48x16 blocks (8x8 pixels each) respectively. To program the OSD, first use LUT/OSD Control register 10h to turn on bitmap 1 or bitmap 2. Then program the overlay colors 1, 2 and 3 through registers 15h~1Dh. Select the OSD index (0~255) through register 11h, then fill the data through register 13h. The two bits of each OSD block can be used to define no overlay color (transparent) or color 1, 2 or 3. Mesh color and mesh background can be enabled by programming register 2Fh. The position of the bitmaps can be defined by registers 1Eh, 1Fh, and 2Fh. The data index of the bitmap 1 starts at bitmap address 192, and the lay-out is defined as follows:
193<7:0> 194<7:0> 195<7:0>
7:6 5:4 3:2 1:0
192<7:0> 196<7:0> 200<7:0> 204<7:0>
252<7:0>
AL250-16 16x16 OSD drawing 253<7:0> 254<7:0> 255<7:0>
Each pixel is defined by 2 bits value ("00", "01", "10" and "11"). Value "00" shows the current input video data. Value "01", "10" and "11" are index to overlay color 1~3 (defined in registers 15h ~ 1Dh). The data index of bitmap 2 starts at bitmap address 0, and the lay-out is defined as follows:
July 28, 1999
14
AL250
0<7:0> 4<7:0> 5<7:0>
7:6 5:4 3:2 1:0 1<7:0>
188<7:0>
189<7:0>
2<7:0>
190<7:0>
3<7:0>
191<7:0>
AL250-17 16x48 OSD drawing
Similar to bitmap 1, each pixel is defined by 2 bits value ("00", "01", "10" and "11") with the same definition. The horizontal positions of the bitmaps 1 & 2 are defined by registers 1Eh and 1Fh respectively. The vertical position of both is defined by register 2Fh. For the external OSD, the overlay feature needs to be used and this will be explained in detail in the External Overlay section. OSD control applies to the AL250/251 analog output and the AL251 digital RGB output, but not to the AL251 digital YUV output.
6.6 External Overlay
The AL250/251 provides two overlay pins (OVLCTRL1 and OVLCTRL0) for overlay control as well as some special effects. They can be pulled as 00 for no overlay, and 01, 10, 11 for different overlay colors or effects. The colors can be chosen from any one of 16M colors (defined by 24 bits RGB) by programming registers 15h~1Dh. The effects can be logic AND, OR, or XOR of the video source with any of the three overlay colors by programming register 14h. For instance, a negative film effect can be produced by XOR the original video source with white color. More details can be found in the Register Definition section. Using the external overlay of the AL250/251 for caption display is possible if the OSD or FPGA chip chosen for displaying fonts of the decoded caption has the two overlay pins compatible with the AL250. If not, then the digital or analog output of the OSD can still be multiplexed with the output of the AL250/251 to show captions on the video display.
July 28, 1999
15
AL250
External overlay applies to the AL250/251 analog output and the AL251 digital RGB output, but not to the AL251 digital YUV output.
6.7 Look-up Table (LUT)
Because of the different characteristics of TV's and PC monitors, direct color space conversion from TV to PC may not show the same color that the human eye sees from the original video on the TV. The contrast may not be sufficient, and the hue may not be accurate, so to resolve these issues the AL250/251 has a gamma correction internal LUT implemented. The AL250/251 provides 768 registers for implementing the LUT. The directly converted colors are sent to the LUT that then sends out the mapped, corrected colors. To program the LUT, first choose a color (R, G or B) from register 10h, select the LUT index (0~255) through register 11h, then fill the data (0~255) through register 13h. The input 8-bit R (or G or B) value is then converted to the corrected R (or G or B) value. The user can program the LUT based on his/her own experiments on specific types of monitors. The typical input-output mapping curve is usually somewhat like the following:
Output Corrected Conversion Direct Conversion
Input
LUT control applies to the AL251/251 analog output but not to the AL251 digital YUV/RGB output.
6.8 I2C Programming
The AL250/251 I2C programming interface follows the Philips standard. The I2C interface consists of the SCL (clock) and SDA (data) signals. Data can be written to or read from the AL250/251. For both read and write, each byte is transferred MSB first, and the SDA data bit is valid when the SCL is pulled high. 16
July 28, 1999
AL250
The read/write command format is as follows: Write:

Read:

Following are the details: : Start signal SCL SDA High High High Low The Start signal is HIGH to LOW transition on the SDA line when SCL is HIGH. : Write Slave Address: 58h or 5Ch : Read Slave Address: 59h or 5Dh
SDA
SDA Data bit [1] or NA SCL
SDA Data bit [0] or A SCL
: Value of the
AL250/251 register index. : Acknowledge stage The acknowledge-related clock pulse is generated by the host (master). The host releases the SDA line (HIGH) for the AL250/251 (slave) to pull down the SDA line during the acknowledge clock pulse. : Not Acknowledge stage The acknowledge-related clock pulse is generated by the host (master). The host releases the SDA line (HIGH) during the acknowledge clock pulse, but the AL250/251 does not pull it down during this stage.
START bit [S] SCL
STOP bit [P] SCL
SDA Not significant SCL
AL250-15 I2C drawing
: Data byte write to or read from the register index. In read operation, the host must release the SDA line (high) before the first clock pulse is transmitted to the AL250.
July 28, 1999
17
AL250

: Stop signal SCL SDA High Low High High The Stop signal is LOW to HIGH transition on the SDA line when SCL is HIGH.
Suppose data F0h is to be written to register 0Fh using write slave address 58h, the timing is as follows:
Start
Slave addr = 58h
Ack
Index = 0Fh
Ack
Data = F0h
Ack Stop
SDA SCL
AL250-24 I2C Write timing
Suppose data is to be read from register 55h using read slave address 59h, the timing is as follows:
Start
Slave addr = 58h
Ack
Index = 55h
Ack
Stop Read slave addr = 59h NAck Start Ack Data read cycle Stop
SDA SCL
AL250-25 I2C Read timing
6.9 Video Decoding
A video decoder (video input processor) is needed with the AL250/251 for S-video or composite video processing. Please note that the AL250/251 works only with line-locked video decoders. There are a number of video decoders available in the market; following is a selection chart. For detailed information, please consult with the decoder vendors or their distributors directly. The attached information is believed to be accurate but not guaranteed.
July 28, 1999
18
AL250
Decoder SAA 7110 SAA 7111 SAA 7112 KS0127 VPC3211B
Vendor Philips Philips Philips Samsung ITT
Line locked V V V V V
NTSC/ PAL V V V V V
RGB565
CCIR 601 V V V V
Square Pixel V
Closed Caption
Tele text
V V V
V
V V
More information on the AL250/251 functionality can be found in the Register Definition section.
July 28, 1999
19
AL250
7.0 Electrical Characteristics
7.1 Recommended Operating Conditions
Parameter VDD TAMB Supply Voltage Ambient Operating Temperature Min +3.0 0 Max +5.5 +70 Unit V C
7.2 Characteristics
Parameter IDD P VIH VIL VOH VOL IO Supply current Power consumption Hi-level input voltage Lo-level input voltage Hi-level output voltage Lo-level output voltage Output current, data Output current, GHREF Output current, GHS, GVS ILI Ci CK2 tiS tiH tr tf tdCK CL toH tPD Input leakage current Input pin capacitance Duty factor (tCK2H/tCK2) Input data set-up time Input data hold time Input rise time Input fall time VCLK to VCLKx2 delay Digital output load cap. Output hold time Propagation delay CL = 15pF CL = 40pF Vi = 0.6 to 2.6V Vi = 2.6 to 0.6V -0.5VJuly 28, 1999
20
AL250
The input and output timing diagrams are as follows:
tCK2
VCLKX2
tCK2H tCK2L tf tr
tCK
VCLK
tdCK tf tr
tiS
tiH
VDIN
AL250-22 Input timing
tCK2
VCLKX2
tCK2H tCK2L tf tr
tPD
DO
toH
AL250-23 Output timing
July 28, 1999
21
AL250
8.0 AL250/251 Register Definition
The AL250/251 is powered up to a default state depending on the hardware mode-setting pins. Hardware configuration pins are disabled by setting SoftConfig (bit 4 of register 03h) to one, and configurations are decided by the values of register 02h which is software programmable. The following is the summary of the AL250/251 control registers
Register COMPANYID REVISION BOARDCONFIG GENERAL FAMILY CONTROL STATUS BORDERRED BORDERGREEN BORDERBLUE LUTOSDCONTROL LUTOSDINDEX LUTOSDDATA OVERLAYCTRL OVL1RED OVL1GREEN OVL1BLUE OVL2RED OVL2GREEN OVL2BLUE OVL3RED OVL3GREEN OVL3BLUE OSD1HSTART OSD2HSTART HDESTART HDEEND Addr. 00h 01h 02h 03h 04h 08h 09h 0Ch 0Dh 0Eh 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h 1Ah 1Bh 1Ch 1Dh 1Eh 1Fh 20h 21h W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 00h 00h 00h 00h FFh FFh FFh 00h FFh 00h 00h 00h 00h 00h 00h R/W R R R/W R/W R R/W R R/W R/W R/W R/W W Default 46h 00h ?? 00h 25h 00h ?? 00h 00h 00h 00h 00h Company ID Revision number Board configuration General control Chip family number Control register Status register Border color, red channel Border color, green channel Border color, blue channel LUT/OSD control LUT/OSD index Reserved LUT/OSD data Overlay Effect Control Overlay color 1, red channel Overlay color 1, green channel Overlay color 1, blue channel Overlay color 2, red channel Overlay color 2, green channel Overlay color 2, blue channel Overlay color 3, red channel Overlay color 3, green channel Overlay color 3, blue channel On Screen Display bitmap 1 horizontal start On Screen Display bitmap 2 horizontal start Horizontal capture start Horizontal capture end Function
July 28, 1999
22
AL250
HSYNCSTART HSYNCEND HTOTAL(1) VDESTART VDEEND VSYNCSTART VSYNCEND HTOTAL(2) TEST HBORDERSTART HBORDEREND VBORDERSTART VBORDEREND OSDVSTART
22h 23h 24h 25h 26h 27h 28h 29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h
Horizontal sync. start Horizontal sync. end Horizontal total high, bit<10:3> Vertical capture start Vertical capture end Vertical sync. start Vertical sync. end Horizontal total low, bit<2:1> Test register(Reserved) Horizontal border color start Horizontal border color end Vertical border color start Vertical border color end On Screen Display bitmap 1 and 2 vertical start
8.1 Register Description
00h: Company ID (R) [COMPANYID] CompanyId <7:0> Company ID (46h) Revision (R) [REVISION] Revision <7:0>
01h:
Revision number
02h:
Board Configuration (R/W) [BOARDCONFIG] If SoftConfig (Reg.#03h<4>) = 0, the hardware configuration pins values are read. If SoftConfig (Reg.#03h<4>) = 1, the software configuration register values are read STD <1:0> Input video standard 00 NTSC input 01 PAL input 10 Automatic standard detection 11 Reserved for analog testing InType <2> Input video format 0 YUV422 1 RGB565 uvflip <3> if 1, flip UV Square <4> 0 CCIR 1 Square pixel General (R/W) [GENERAL]
03h:
July 28, 1999
23
AL250
SoftConfig
<0> <3:1> <4> <7:5>
Reserved Reserved Enable configuration defined by software configuration register 02h. Please refer to Reg.#02h Reserved
04h:
Chip Family (R) [FAMILY] Family <7:0> 25h, AL250/251 series Control (R/W) [CONTROL] <0> Reserved InVsPol <1> Input vsync polarity 0 negative polarity 1 positive polarity InHsPol <2> Input hsync polarity 0 negative polarity 1 positive polarity Softtime <3> Enable H & V adjustment (register 20h to 29h) OutHsPol <4> Output hsync polarity 0 negative polarity 1 positive polarity OutVsPol <5> Output vsync polarity 0 negative polarity 1 positive polarity OutFormat <7> Output video format 0 16-bit RGB 565 1 CCIR YUV422 Chip Status (R) [STATUS] PalDetected <0> VidVs <1> HRef <2> VidHs <3> GVde <4> OvlCtrl0 <5> OvlCtrl1 <6>
08h:
09h:
PAL detected External vsync External href External hsync Internal gvde signal External ovlctrl0 External ovlctrl1
Note: If PalDetected is always 1, the input mode is PAL. If PalDetected is not always 1, then the input mode is NTSC. 0Ch: Border Color Red (R/W) [BORDERRED] BorderRed <7:0> Border color, red component Border Color Green (R/W) [BORDERGREEN] BorderGreen <7:0> Border color, green component Border Color Blue (R/W) [BORDERBLUE]
0Dh:
0Eh:
July 28, 1999
24
AL250
BorderBlue 10h:
<7:0>
Border color, blue component
LUT/OSD Control (R/W) 0x10 [LUTOSDCONTROL] LutOsdWSel <1:0> LUT/OSD table write select 00 enable LUT-red table write 01 enable LUT-green table write 10 enable LUT-blue table write 11 enable OSD (On Screen Display) bitmap write RLutEn <2> LUT-red enable 0 bypass red LUT 1 enable red LUT GLutEn <3> LUT-green enable 0 bypass green LUT 1 enable green LUT BLutEn <4> LUT-blue enable 0 bypass blue LUT 1 enable blue LUT BitMap1En <6> Bitmap 1 enable 0 hide bitmap 1 1 show bitmap 1 BitMap2En <7> Bitmap 2 enable 0 hide bitmap 2 1 show bitmap 2 LUT/OSD Index (W) [LUTOSDINDEX] LutOsdIndex <7:0> LUT/OSD index LUT/OSD Data (W) [LUTOSDDATA] LutOsdData <7:0> LUT/OSD data
11h:
13h:
To program the contents of LUT/OSD, first set Reg.#10h, bit<1:0>, then repeat writing index value to Reg.#11h, and data value to Reg.#13h. 14h: Overlay Control (R/W) [OVERLAYCTRL] OvlLogic1 <1:0> Overlay logic operation between video and overlay color 1 when overlay key = "01" 00 select overlay color 1 01 video AND overlay color 1 10 video OR overlay color 1 11 video XOR overlay color 1 OvlLogic2 <3:2> Overlay logic operation between video and overlay color 2 when overlay key = "10" 00 select overlay color 2 01 video AND overlay color 2 10 video OR overlay color 2 11 video XOR overlay color 2
July 28, 1999
25
AL250
OvlLogic3
<5:4>
OvlLut
<7>
Overlay logic operation between video and overlay color 3 when overlay key = "11" 00 select overlay color 3 01 video AND overlay color 3 10 video OR overlay color 3 11 video XOR overlay color 3 If 1, video will go through LUTs when ovlkey pins are "11" and OvlLogic3 settings are ignored.
15h:
Overlay Color 1 Red (R/W) [OVL1RED] Overlay1Red <7:0> Overlay 1 color red component Overlay Color 1 Green (R/W) [OVL1GREEN] Overlay1Green <7:0> Overlay 1 color green component Overlay Color 1 Blue (R/W) [OVL1BLUE] Overlay1Blue <7:0> Overlay 1 color blue component Default RGB value for overlay 1 is: (R, G, B) = (0, 0, 255), blue Overlay Color 2 Red (R/W) [OVL2RED] Overlay2Red <7:0> Overlay 1 color red component Overlay Color 2 Green (R/W) [OVL2GREEN] Overlay2Green <7:0> Overlay 1 color green component Overlay Color 2 Blue (R/W) [OVL2BLUE] Overlay2Blue <7:0> Overlay 1 color blue component Default RGB value for overlay 2 is: (R, G, B) = (255, 255, 0), yellow Overlay Color 3 Red (R/W) [OVL3RED] Overlay3Red <7:0> Overlay 3 color red component Overlay Color 3 Green (R/W) [OVL3GREEN] Overlay3Green <7:0> Overlay 3 color green component Overlay Color 3 Blue (R/W) [OVL3BLUE] Overlay3Blue <7:0> Overlay 3 color blue component Default RGB value for overlay 3 is: (R, G, B) = (255, 0, 0), red On-Screen Display 1 (OSD1) Horizontal Start (R/W) [OSD1HSTART] Osd1HStart <7:3> On Screen Display bitmap 1 horizontal start. (unit: 64 pixels) On-Screen Display 2 (OSD2) Horizontal Start (R/W) [OSD2HSTART] Osd2HStart <7:3> On Screen Display bitmap 2 horizontal start. (unit: 64 pixels) On Screen Display (OSD) Vertical Start (R/W) [OSDVSTART]
16h:
17h:
18h:
19h:
1Ah:
1Bh:
1Ch:
1Dh:
1Eh:
1Fh:
2Fh:
July 28, 1999
26
AL250
On Screen Display bitmap 1 and 2 vertical start. (unit: 64 lines) MeshColor <1> Mesh color select 0 gray mesh 1 color 3 mesh MeshEn <0> Mesh background enable 0 No mesh 1 Enable mesh background To display the OSD correctly, make sure the horizontal start does not locate between horizontal sync start and horizontal sync end, and vertical start does not locate between vertical sync start and vertical sync end. Reg.#20h to #29h define the video capture control timing. 20h: Horizontal Capture Start (R/W) [HDESTART] HDEStart <7:0> Horizontal capture start. (unit: 8 pixels) Horizontal Capture End (R/W) [HDEEND] HDEEnd <7:0> Horizontal capture end. (unit: 8 pixels) Horizontal Sync Start (R/W) [HSYNCSTART] HSyncStart <7:0> Horizontal sync start. (unit: 8 pixels) Horizontal Sync End (R/W) [HSYNCEND] HSyncEnd <7:0> Horizontal sync end. (unit: 8 pixels) Horizontal Total High (R/W) [HTOTAL1] HTotal10_3 <7:0> Bit 10 to bit 3 of horizontal total Bit 2 to bit 1 are defined in Reg.#29h<1:0> Vertical Capture Start (R/W) [VDESTART] VDEStart <7:0> Vertical capture start. (unit: 4 lines) Vertical Capture End (R/W) [VDEEND] VDEEnd <7:0> Vertical capture end. (unit: 4 lines) Vertical Sync Start (R/W) [VSYNCSTART] VSyncStart <7:0> Vertical sync start. (unit: 4 lines) Vertical Sync End (R/W) [VSYNCEND] VSyncEnd <7:0> Vertical sync end. (unit: 4 lines)
OsdVstart
<7:4>
21h:
22h:
23h:
24h:
25h:
26h:
27h:
28h:
July 28, 1999
27
AL250
29h:
Horizontal Total Low (R/W) [HTOTAL2] <7:2> Reserved HTotal2_1 <1:0> Bit 2 to bit 1 of horizontal total, htotal bit 0 = 0 Test (R/W) [TEST] testIn <7> testOut <6> testOvl <5:4>
2Ah:
<3:0> 2Bh:
Feed RGB value from 0x15, 0x16, 0x17 registers to the input Feed RGB value from 0x15, 0x16, 0x17 registers to the output 00, use hardware overlay key 01, set overlay key value to 01 10, set overlay key value to 10 11, set overlay key value to 11 Reserved
Horizontal Blank Start (R/W) [HBLANKSTART] HBlankStart <7:0> Horizontal blanking start. (unit: 8 pixels) Horizontal Blank End (R/W) [HBLANKEND] HBlankEnd <7:0> Horizontal blanking end. (unit: 8 pixels) Vertical Blank Start (R/W) [VBLANKSTART] VBlankStart <7:0> Vertical blanking start. (unit: 4 lines) Vertical Blank End (R/W) [VBLANKEND] VBlankStart <7:0> Vertical blanking end. (unit: 4 lines)
2Ch:
2Dh:
2Eh:
July 28, 1999
28
AL250
9.0 Board Design and Layout Considerations
The AL250/251 contains both precision analog and high-speed digital circuitry. Noise coupling from digital circuits to analog circuits may result in poor video quality. The layout should be optimized for lowest noise on the power and ground planes by shielding the digital circuitry and providing good decoupling. It is recommended to place the AL250/251 chip close to the VGA output connector, and the video decoder close to the analog video input connectors if applicable.
9.1 Grounding
Analog and digital circuits are separated within the AL250/251 chip. To minimize system noise and prevent digital system noise from entering the analog portion, a common ground plane for all devices, including the AL250/251 is recommended. All the connections to the ground plane should have very short leads. The ground plane should be solid, not cross-hatched.
9.2 Power Planes and Power Supply Decoupling
The analog portion of the AL250/251 and any associated analog circuitry should have their own power plane, referred to as the analog power plane (AVDD). The analog power plane should be connected to the digital power plane (DVDD) at a single point through a low resistance ferrite bead. The digital power plane should provide power to all digital logic on the PC board, and the analog power plane should provide power to all of the AL250/251 analog power pins and relevant analog circuitry. Power supply connection pins should be individually decoupled. For best results, use 0.1F ceramic chip capacitors. Lead lengths should be minimized. The power pins should be connected to the bypass capacitors before being connected to the power planes. 22F capacitors should also be used between the AL250/251 power planes and the ground planes to control low-frequency power ripple.
9.3 Digital Signal and Clock Interconnect
Digital signals to the AL250/251 should be isolated as much as possible from the analog outputs and other analog circuitry. The high frequency clock reference or crystal should be handled carefully. Jitter and noise on the clock will degrade the video performance. Keep the clock paths to the decoder as short as possible to reduce noise pickup.
9.4 Analog Signal Interconnect
The AL250/251 should be located closely to the output connectors to minimize noise and reflections. Keep the critical analog traces as short and wide (20~30 mil) as possible. Digital signals, especially pixel clocks and data signals should not overlap any of the analog signal circuitry and should be kept as far apart as possible. The AL250/251 and the decoder IC should have no inputs left floating.
July 28, 1999
29
AL250
10.0 Mechanical Drawing
AL250: 20mm x 14mm 64-pin QFP package
July 28, 1999
30
AL250
AL251: 20mm x 14mm 80-pin QFP package
July 28, 1999
31
AL250
11.0 Power Consumption
The AL250/251 works at both 5V and 3.3V. The following table shows the current consumption of the AL250/251 itself and that of the whole EVB with power supply at single 5V, or 5V and 3.3V mixed (3.3V for the AL250/251 only). +5V AL250/251 chip AL250 EVB 92 mA (typ.) 280 mA (typ.) +3.3V for AL250 +5V for the rest 55 mA (typ.) 140 mA (typ.)
Please be reminded that when lower power supply is used, the pull-down resistance to the RSET pin has to be adjusted to compensate accordingly. The lower the supply voltage is, the lower the pulldown resistance has to be. The ideal resistance value can be achieved by adjusting the RGB output to be 0.7V peak-to-peak or higher to obtain better output brightness and contrast.
For more information about the AL250/251 or other AverLogic products, please contact your local authorized representatives, visit our website, or contact us directly.
July 28, 1999
32
CONTACT INFORMATION
Averlogic Technologies Corp. 4F, No. 514, Sec. 2, Cheng Kung Rd., Nei-Hu Dist., Taipei, Taiwan Tel: +886 2-27915050 Fax: +886 2-27912132 E-mail: sales@averlogic.com.tw URL: http://www.averlogic.com.tw
Averlogic Technologies, Inc. 90 Great Oaks Blvd. #204, San Jose, CA 95119 USA Tel: 1 408 361-0400 Fax: 1 408 361-0404 E-mail: sales@averlogic.com URL: http://www.averlogic.com


▲Up To Search▲   

 
Price & Availability of AL250

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X